package com.hdoit.ares.web.insu.wechat;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.tennetcn.component.wechat.BaseWechat;
import com.tennetcn.web.cbase.AuthPassport;

@Controller
@RequestMapping(value = "/wechat/insu/lifeInsurance/")
@AuthPassport
public class LifeInsuranceWechat extends BaseWechat{
	
	@Override
	public String getRoutePath() {
		return "areas/wechat/insu/lifeInsurance/";
	}
	
	private final String lifeInsuranceViewName="lifeInsurance";

	@RequestMapping(value = lifeInsuranceViewName, method = { RequestMethod.GET,RequestMethod.POST })
	public String lifeInsurance(Model model){
		return view(lifeInsuranceViewName);
	}

}
